package com.zc.app.shiro.dao;

import com.zc.app.shiro.peer.RolePeer;

import java.util.List;


public interface RoleDao {

    public RolePeer createRole(RolePeer role);
    public RolePeer updateRole(RolePeer role);
    public void deleteRole(Long roleId);

    public RolePeer findOne(Long roleId);
    public List<RolePeer> findAll();
}
